<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of FormListView
 *
 * @author mateusz.ledzewicz
 */
class ChartsScreen extends IndexView {
    //put your code here
    protected function chooseView($name){
      $type = (isSet($_GET[ConfigInput::actionGet])) ? $_GET[ConfigInput::actionGet] : null;
      $id = (isSet($_GET['id_test'])) ? 'test' : 'train';
      if($id == 'test')
      {
        $this->loadContent('charttest.html');
      } else 
      {
        $this->loadContent('charttrain.html');
      }
        $this->runLoad();
    }
    
    
    protected  function runLoad() {}
    
}

?>
